package com.ssy.lingxi.fallback;

import com.ssy.lingxi.common.response.ResponseCode;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.dto.response.PlatformSettlementAllInPayVO;
import com.ssy.lingxi.feign.PlatformSettlementControllerFeign;
import org.springframework.stereotype.Component;

@Component
public class PlatformSettlementControllerFeignFallback implements PlatformSettlementControllerFeign {
    @Override
    public Wrapper<PlatformSettlementAllInPayVO> getPlatformSettlementByDetailPaymentId(Long paymentId) {
        return Wrapper.fail(ResponseCode.SETTLE_ACCOUNTS_SERVICE_ERROR);
    }
}
